﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SecurityAdmin.Web.Controllers
{
    public class HomeController : BaseController
    {
        public ActionResult Index()
        {
            //Select the enterprise to work with
            if (null == SelectedEnterprise)
            {
                SelectDefaultEnterprise();
            }

            //If a application is not selected, select 1 by default
            if (null == SelectedApplication)
            {
                SelectDefaultApplication();
            }

            return View();
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
